package jinbo.cn.com.service;

import jinbo.cn.com.dao.SpringDemoDao;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;
import java.util.Map;

/**
 * Created by songxiaohu on 2018/2/27.
 */
@Service
public class SpringDemoService {
    @Autowired
    private SpringDemoDao springDemoDao;

    public List<Map<String,Object>> getList(){
        return springDemoDao.getList();
    }
    public Map<String,Object> getMap(){
        return springDemoDao.getMap();
    }

    public int isUpdate(){
        return springDemoDao.isUpdate();
    }
}
